diff options
| author | Adam Soltys <[email protected]> | 2023-10-08 00:17:32 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-10-08 00:17:32 -0700 |
| commit | 0212fe0032eb0c5d6bfb74ebaab42543b73d6d6b (patch) | |
| tree | 56bffdb4556c10bde68d5aed3bea389197e9965c /src/routes/(app)/pot/[name]/sweep | |
| parent | 222bbc9080fbb15861cc5c0802449fcf06a53532 (diff) | |
| download | coinos-ui-0212fe0032eb0c5d6bfb74ebaab42543b73d6d6b.tar.gz coinos-ui-0212fe0032eb0c5d6bfb74ebaab42543b73d6d6b.zip | |
payments fixes
Diffstat (limited to 'src/routes/(app)/pot/[name]/sweep')
| -rw-r--r-- | src/routes/(app)/pot/[name]/sweep/+page.svelte | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/src/routes/(app)/pot/[name]/sweep/+page.svelte b/src/routes/(app)/pot/[name]/sweep/+page.svelte index 17d707cc..9b473af3 100644 --- a/src/routes/(app)/pot/[name]/sweep/+page.svelte +++ b/src/routes/(app)/pot/[name]/sweep/+page.svelte @@ -4,14 +4,13 @@ import { Icon } from '$comp'; import { t } from '$lib/translations'; - export let data; + export let data; - let { amount, name, user, rates } = data; - let { currency } = user; - $: rate = rates[currency]; + let { amount, name, user, rates } = data; + let { currency } = user; + $: rate = rates[currency]; </script> - <div class="container px-4 max-w-xl mx-auto mt-10 space-y-5 text-center"> <div class="w-full flex"> <a href="/" class="mx-auto"> @@ -19,17 +18,17 @@ </a> </div> - <div class="flex w-full py-5 max-w-[200px] mx-auto" in:scale={{ start: 0.5 }}> - <Icon icon="check" style="mx-auto" /> - </div> - <h1 class="text-3xl md:text-4xl font-bold mb-6">{$t('payments.fundsClaimed')}</h1> - <h2 class="text-2xl md:text-3xl font-semibold"> - {f(fiat(amount, rate), currency)} - </h2> - <h3 class="text-secondary md:text-lg mb-6 mt-1"> - ⚡️{s(amount)} - </h3> - </div> + <div class="flex w-full py-5 max-w-[200px] mx-auto" in:scale={{ start: 0.5 }}> + <Icon icon="check" style="mx-auto" /> + </div> + <h1 class="text-3xl md:text-4xl font-bold mb-6">{$t('payments.fundsClaimed')}</h1> + <h2 class="text-2xl md:text-3xl font-semibold"> + {f(fiat(amount, rate), currency)} + </h2> + <h3 class="text-secondary md:text-lg mb-6 mt-1"> + ⚡️{s(amount)} + </h3> +</div> <a href={`/${user.username}/payments`}> <div class="opacity-0 w-screen h-screen fixed top-0 left-0 z-50" /> |
